Add one more fork to the Xend start-up process, this time with the parent
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 9 Dec 2005 10:49:29 +0000 (10:49 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Fri, 9 Dec 2005 10:49:29 +0000 (10:49 +0000)
commit9ab74b250b00062ca051a03d4df0cd7b549e6585
tree3c8bc1c3cd68dadb43cdc31535ddd1bb92a4eade
parentd2b3b7424b1a35756e8cd2d49866eb1fa9dcab9b
Add one more fork to the Xend start-up process, this time with the parent
staying alive to watch the child.  If the child crashes, then the parent
starts another one in its place.  This provides robustness in the face of
crashes like one currently tracked as bug #411.

Tidy up chunks of SrvDaemon.py on the way past.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/SrvDaemon.py
tools/python/xen/xend/server/SrvServer.py